    <div id="breadcrumbs"><?php echo $this->Html->link('Home', array('controller' => 'contents', 'action' => 'view', 'home')); ?> >  List Answers
</div>

<div class="answers index">
	<h2><?php echo __('Answers'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('answers'); ?></th>
			<th>View</th>
                        <th>Edit</th>
                        <th>Delete</th>
	</tr>
	<?php foreach ($answers as $answer): ?>
	<tr>
		<td><?php echo h($answer['Answer']['answers']); ?>&nbsp;</td>
		<td><?php echo $this->Html->image('view.png',array('alt'=>'View','url'=>array('action' => 'view', $answer['Answer']['answers_id']))); ?></td>
		<td><?php echo $this->Html->image('edit.png',array('alt'=>'Edit','url'=>array('action' => 'edit', $answer['Answer']['answers_id']))); ?></td>
		<td><?php echo $this->Form->postLink($this->Html->image('delete.png', array('alt'=>__('Delete'))), array('action' => 'delete', $answer['Answer']['answers_id']), array('escape' =>false, 'confirm'=>__('Are you sure you want to delete '. $answer['Answer']['answers_answers']. '?'))); ?></td>
	
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Answer'), array('action' => 'add')); ?></li>
	</ul>
</div>
